Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  List  Information  about  the  Threads  Active  on  a  Computer  

 Content of List Information about the Threads Active on a Computer.ps1
MD5 Hash: 7C46E343B8758CDECC9DC0D91127EAA3
$strComputer = "."

$colItems = get-wmiobject -class "Win32_Thread" -namespace "root\CIMV2" `
-computername $strComputer

foreach ($objItem in $colItems) {
write-host "Caption: " $objItem.Caption
write-host "Creation Class Name: " $objItem.CreationClassName
write-host "CS Creation Class Name: " $objItem.CSCreationClassName
write-host "CS Name: " $objItem.CSName
write-host "Description: " $objItem.Description
write-host "Elapsed Time: " $objItem.ElapsedTime
write-host "Execution State: " $objItem.ExecutionState
write-host "Handle: " $objItem.Handle
write-host "Installation Date: " $objItem.InstallDate
write-host "Kernel-Mode Time: " $objItem.KernelModeTime
write-host "Name: " $objItem.Name
write-host "Operating System Creation Class Name: " $objItem.OSCreationClassName
write-host "Operating System Name: " $objItem.OSName
write-host "Priority: " $objItem.Priority
write-host "Priority Base: " $objItem.PriorityBase
write-host "Process Creation Class Name: " $objItem.ProcessCreationClassName
write-host "Process Handle: " $objItem.ProcessHandle
write-host "Start Address: " $objItem.StartAddress
write-host "Status: " $objItem.Status
write-host "Thread State: " $objItem.ThreadState
write-host "Thread Wait Reason: " $objItem.ThreadWaitReason
write-host "User-Mode Time: " $objItem.UserModeTime
write-host
}


   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a